'use client';
import Left from '@/components/Left';
import Right from '@/components/Right';
import { Conversation, ItemProps } from '@/types/interface';
import { useState } from 'react';

const Main: React.FC = () => {
	const [item, setItem] = useState<null | Conversation>(null);
	const onClickItem = (item: Conversation) => {
		setItem(item);
		console.log(item);
	};

	return (
		<>
			<div className="flex flex-col h-screen">
				<Right ></Right>
			</div>
		</>
	);
};

export default Main;
